<template>
  <div>
    <ebdmn-toolbar-layout>
      <template #left>
        <ebdmn-label label="查询条件">
          <el-input v-model="findForm.params.id"/>
        </ebdmn-label>
      </template>
      <template #right>
        <el-button @click="addData">创建</el-button>
        <el-button>查询</el-button>
      </template>
    </ebdmn-toolbar-layout>
    <ebdmn-layout></ebdmn-layout>
  </div>
</template>

<script>
import { EbdmnToolbarLayout } from '@components/EbdmnToolbar/index.js'
import EbdmnLayout from '@components/EbdmnLayout/index.vue'
import EbdmnLabel from '@components/EbdmnLabel/index.vue'
export default {
  name: 'EbdmnDemoListAndFormList',
  components: {
    EbdmnToolbarLayout,
    EbdmnLayout,
    EbdmnLabel
  },
  props: {
    execQuery: {
      type: Boolean,
      default: false
    }
  },
  emits: { 'showForm': null },
  data() {
    return {
      // 列表查询字段信息
      findForm: {
        params: {
        }
      },
      // loading控制器
      loadingControl: {
      }
    }
  },
  created() {
  },
  methods: {
    addData() {
      this.$emit('showForm', 'add')
    },
    rowClick(row) {
      console.info(row)
    }
  }
}
</script>

<style scoped>

</style>